package com.ruoyi.combat.domain.apprisk;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * app风险对象 combat_app_risk
 * 
 * @author ruoyi
 * @date 2024-08-21
 */
public class CombatAppRisk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long appRiskId;

    /** 风险类型，单独风险、共谋风险 */
    @Excel(name = "风险类型，单独风险、共谋风险")
    private String riskType;

    /** app的id */
    private Long appId;

    /** 风险内容 */
    @Excel(name = "风险内容")
    private String riskContent;

    /** app共谋者 */
    @Excel(name = "app共谋者")
    private String appConspirator;

    /** 检测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date testime;

    private String topic;

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public void setAppRiskId(Long appRiskId)
    {
        this.appRiskId = appRiskId;
    }

    public Long getAppRiskId() 
    {
        return appRiskId;
    }
    public void setRiskType(String riskType) 
    {
        this.riskType = riskType;
    }

    public String getRiskType() 
    {
        return riskType;
    }
    public void setAppId(Long appId) 
    {
        this.appId = appId;
    }

    public Long getAppId() 
    {
        return appId;
    }
    public void setRiskContent(String riskContent) 
    {
        this.riskContent = riskContent;
    }

    public String getRiskContent() 
    {
        return riskContent;
    }
    public void setAppConspirator(String appConspirator) 
    {
        this.appConspirator = appConspirator;
    }

    public String getAppConspirator() 
    {
        return appConspirator;
    }
    public void setTestime(Date testime) 
    {
        this.testime = testime;
    }

    public Date getTestime() 
    {
        return testime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("appRiskId", getAppRiskId())
            .append("riskType", getRiskType())
            .append("appId", getAppId())
            .append("riskContent", getRiskContent())
            .append("appConspirator", getAppConspirator())
            .append("testime", getTestime())
            .toString();
    }
}
